﻿

<!DOCTYPE html>
<html lang="zh-CN">
    <style>
    #t1{
     height: 35px;
    }
    th,td{
    text-align: center;
   }
</style>


<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${request.getContextPath()}/bb214/boardTable" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="boardTable" />
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="Excel" />
            <label >MES批号：</label>
            <g:select name="lotId" from="${lotIdList}" data-toggle="selectpicker" data-live-search="true" optionKey="LOT_ID" optionValue="LOT_ID" value="${lotId}" noSelection="['':'ALL']" />&nbsp;
            <label >产品状态：</label>
            <g:select name="classId" from="${classList}" data-toggle="selectpicker" data-live-search="true" optionKey="COM_CLASS" optionValue="CLASS" value="${classId}" noSelection="['':'ALL']" />&nbsp;<br>
            <label >产品型号：</label>&nbsp;
            <g:select name="partName" from="${partNameList}" data-toggle="selectpicker" data-live-search="true" optionKey="PART_NAME" optionValue="PART_NAME" value="${partName}" noSelection="['':'ALL']" />&nbsp;
            %{--}<label >工步名称：</label>
            <g:select name="stepDesc" from="${stepDescList}"   data-toggle="selectpicker"  data-live-search="true" optionKey="STEP_DESC" optionValue="STEP_DESC" value="${stepDesc}" noSelection="['':'ALL']" />&nbsp;--}%
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <button type="button" class="btn-blue" onclick="javascript:bjuiExportExl('#pagerForm','${request.getContextPath()}/bb214/exportExcel')" data-icon="file-excel-o" title="导出Excel">导出</button>&nbsp;

        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <g:if test="${boardTableList.size() > 0}">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr id="t1">
                <th width="110">MES批号</th>
                <th width="110">产品型号</th>
                <th width="110">成模批号</th>
                <th width="110">组装批号</th>
                <th width="110">封装批号</th>
                <th width="110">班组名称</th>
                <th width="110">工步名称</th>
                <th width="110">班次</th>
                <th width="110">计划开始时间</th>
                <th width="110">计划完成时间</th>
                <th width="110">实际开始时间</th>
                <th width="110">实际完成时间</th>
                <th width="110">计划完成情况</th>
                <th width="110">工步完成情况</th>
            </tr>
            </thead>
            <tbody>
            <g:each in="${boardTableList }" status="i" var="tableInstance">
                <tr >

                    <td>${tableInstance.LOT_ID}</td>
                    <td>${tableInstance.PART_NAME}</td>
                    <td>${tableInstance.CUSTOMER_ORDER}</td>
                    <td>${tableInstance.CUSTOMER_PART_ID}</td>
                    <td>${tableInstance.CUSTOMER_CODE}</td>
                    <td>${tableInstance.STAGE_ID}</td>
                    <td>${tableInstance.STEP_DESC}</td>
                    <td>${tableInstance.LINE_ID}</td>
                    <td>待APS数据</td>
                    <td>待APS数据</td>
                    <td>${tableInstance.START_TIME}</td>
                    <td>${tableInstance.TRACK_OUT_TIME}</td>
                    <td>待APS数据</td>
                    <td>待APS数据</td>





                </tr>
            </g:each>
            </tbody>
        </table>
    </g:if>
    <g:else>
        <g:render template="../template/emptyPanel" />
    </g:else>
</div>
<g:render template="../template/pagination" />
<html>
